package com.gxa.saas.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品一级分类表
 * </p>
 *
 * @author wu
 * @since 2022-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FirstClassify implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 一级分类名
     */
    private String firstName;

    /**
     * 关联二级分类
     */
    private String secondId;

    /**
     * 关联商品分类表分类id
     */
    private Integer cpId;

    /**
     * 状态默认为0，1代表删除
     */
    private String status;


}
